from django import forms
from django.forms import widgets


class loginForm(forms.Form):
    username = forms.CharField(label='用户名', max_length=100,
                               widget=widgets.Input(
                                   attrs={'class': 'form-control form-control-lg', 'placeholder': '请输入用户名'}))
    password = forms.CharField(label='密码', max_length=100,
                               widget=widgets.PasswordInput(
                                   attrs={'class': 'form-control form-control-lg', 'placeholder': '请输入密码'}))
